Cricket Chirp: Teaching Compiler Construction/Language Processing Using Embedded Robot Controller

نویسندگان

  • Li Xu
  • Fred Martin
چکیده

Traditionally, the topic of compiler construction/language processing has been taught as a selective advanced course in Computer Science curricula, due to its rich content and subject complexity. However, under such an approach, students may opt not to take the course and graduate with little understanding and experience with the highly useful techniques embodied in modern compiler construction. In this paper, we present an embedded robot controllerbased teaching framework to teach the fundamentals of compiler/language processor in intermediate-level undergraduate programming course. Our approach leverages the simple yet versatile Cricket educational robot controller. We designed the Chirp language to expose the capabilities of the Cricket virtual machine. Students will build the Chirp compiler and generate Cricket bytecode running on both Chirp simulator and real robot. The Chirp compiler design is organized as a series of components in Java, which demonstrate key compiler construction techniques including lexing, parsing, semantic analysis, error handling and code generation. The Chirp framework provides a balanced and realistic engaging environment to teach compilers in undergraduate core programming courses.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Workspace Boundary Avoidance in Robot Teaching by Demonstration Using Fuzzy Impedance Control

The present paper investigates an intuitive way of robot path planning, called robot teaching by demonstration. In this method, an operator holds the robot end-effector and moves it through a number of positions and orientations in order to teach it a desired task. The presented control architecture applies impedance control in such a way that the end-effector follows the operator’s hand with d...

متن کامل

Variable Impedance Control for Rehabilitation Robot using Interval Type-2 Fuzzy Logic

In this study, a novel variable impedance control for a lower-limb rehabilitation robotic system using voltage control strategy is presented. The majority of existing control approaches are based on control torque strategy, which require the knowledge of robot dynamics as well as dynamic of patients. This requires the controller to overcome complex problems such as uncertainties and nonlinearit...

متن کامل

Robot Control Using Mobile Phone

Recently, robot technology has gained popularity because of labour shortage, ability to work for long hours, etc. Conventionally, wireless control robots use RF circuits, which have the drawbacks of limited working range, limited frequency range and limited control. Use of a mobile phone for robotic control can overcome these limitations. It provides the advantages of robust control, working ra...

متن کامل

Auditory processing at two time scales by the cricket Gryllus bimaculatus.

The acoustic display of many cricket species consists of series of pulses grouped into chirps, and thus information is distributed over both short and long time scales. Here we investigated the temporal cues that females of the cricket Gryllus bimaculatus used to detect a chirp pattern on a longer time scale than the fast pulse pattern. First, over a range of chirp and pause durations (100-400 ...

متن کامل

From an Abstract Object-Oriented Model to a Ready-to-Use Embedded System Controller

1 Abstract. We present an example of a construction of an embedded software system a controller from the formal specification to executable code. The CO-OPN (Concurrent Object Oriented Petri Net) formal specification language is used for modelling the controller and the associated hardware system with the inherent limitation of its physical components. CO-OPN formal language is based on coordin...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005